﻿using System;

namespace org.se.fs.presenter.Library
{
    public class Common
    {
        public static string FormatNumeric(object a)
        {
            if(a.GetType().Equals(typeof(bool)) || a.GetType().Equals(typeof(DateTime)))
                return string.Empty;

            return string.Format("{0:#,###,##0.00}", a);
        }
    }
}
